package com.zx.erp.purchase.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zx.erp.purchase.bean.CPurchase;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zx.erp.purchase.bean.PurchaseCondition;
import com.zx.erp.sys.bean.Users;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 作者信息
 * @since 2021-11-10
 */
public interface CPurchaseService extends IService<CPurchase> {

    //分页查询所有采购单
    Page<CPurchase> getPurchaseListByCondition(PurchaseCondition conn, Integer pageNo, Integer pageSize, Users users);

    CPurchase findByPid(String purchaseId);
    Boolean update(CPurchase cPurchase);
}
